package com.qqhf.hitfood.bean.dto;

import com.qqhf.hitfood.bean.entity.BizShop;
import com.qqhf.hitfood.bean.entity.PosAddress;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BizOrderDto {
    //地址实体
    private PosAddress address;
    //配送费
    private Double feeDely;
    //打包费
    private Double feePack;
    //总价
    private Double feeTotal;
    //订单表id
    private Integer id;
    //订单号
    private String orderNum;
    //店铺实体
    private BizShop shop;
    //订单状态
    private Integer stId;
    //用户id
    private Integer userId;
    //用户名
    private String userName;
    //创建时间
    private Timestamp createTime;
    //食品列表
    private List<BizOrderFoodDto> foods;
}
